class User < ActiveRecord::Base
    validates_presence_of :username
    validates_presence_of :full_name
    validates_presence_of :email
    validates_uniqueness_of :username
    validates_as_email :email
    validates_confirmation_of :password
end